import store from '@/store'
export const checkIsPermission = {
  methods: {
    checkIsPermission(val) {
      return store.state.user.user.roles.points && store.state.user.user.roles.points.includes(val)
    }
  }
}
